package com.lanou.service.impl;

import com.lanou.bean.IntelligentFurnishing;
import com.lanou.mapper.IntelligentFurnishingMapper;
import com.lanou.service.InteFurService;
import com.lanou.utils.AjaxResult;
import com.lanou.utils.MsgResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by dllo on 18/3/16.
 */
@Service
public class InterFurServiceImpl implements InteFurService {
    @Resource
    private IntelligentFurnishingMapper intelligentFurnishingMapper;

    @Override
    public AjaxResult getAllInteFur() {
        List<IntelligentFurnishing> list = intelligentFurnishingMapper.selectAllIF();
        return MsgResult.msgSuccess(list);
    }
}
